package com.biao.mall.order.config;


import com.biao.common.vo.MemberRespVo;

public class ThreadLocalConfig {
    public static ThreadLocal<MemberRespVo> threadLocal = new ThreadLocal<>();

    public static void set(MemberRespVo memberRespVo){
        threadLocal.set(memberRespVo);

    }

    public static MemberRespVo get(){
      return   threadLocal.get();
    }

    public static void remove(){
        threadLocal.remove();
    }
}
